| | Type | Name | Arguments | | - | - | ^CAiBrain | m_pxBrain |
| - | - | ^CAiSensor | m_pxSensor |
| - | - | array | m_apxTRGoalsExt |
| - | - | array | m_apxTRGoalsIntRes |
| - | - | array | m_aiMaxWorkersPerAge |
| - | - | array | m_asForbiddenBuildings |
| - | - | CAiGoalBuildVillage | m_xBuildVillageGoal |
| - | - | CAiGoalBuildArmy | m_xBuildArmyGoal |
| - | - | CAiGoalRepairBuildings | m_xRepairBuildingsGoal |
| - | - | CAiGoalCollectResources | m_xCollectResourcesGoal |
| - | - | CAiGoalUserInteraction | m_xUserInteractionGoal |
| - | - | CAiGoalManageMarketPlaces | m_xMarketPlaceMgr |
| - | - | CAiGoalKillEnclosedWorker | m_xKillEnclosedWorkerGoal |
| - | - | array | m_apxBuildOutpostGoals |
| - | - | ^CAiNodeInstance | m_pxWorkerNI |
| - | - | ^CAiTechTree | m_pxTT |
| - | - | int | m_iCurrentAge |
| - | - | int | m_iPlayerID |
| - | - | string | m_sPlayerID |
| - | - | string | m_sBehavior |
| - | - | string | m_sGameType |
| - | - | string | m_sTribe |
| - | - | bool | m_bMarketplace |
| - | - | bool | m_bAssist |
| - | - | int | m_iMaxAge |
| - | - | array | m_axForbiddenBuildings |
| - | - | array | m_axActiveInternalSolutions |
| - | - | array | m_axActiveSolutionSubscribers |
| X | - | void | constructor | (
) |
| X | - | void | destructor | (
) |
| - | - | ref CAiModuleEconomyDefault | op_Assign | (
ref CAiModuleEconomyDefault ) |
| X | - | void | AddGoal | (
^CAiGoal p_pxGoal , bool p_bCheckIfExists ) |
| X | - | void | AddGoal | (
^CAiGoal p_pxGoal ) |
| X | - | bool | Call | (
string p_ksrCommand ) |
| X | - | ^CAiBrain | GetBrain | (
) |
| X | - | string | GetExtraData | (
) |
| X | - | ^CAiGoal | GetGoal | (
int p_iIdx ) |
| X | - | int | GetThinkWait | (
) |
| X | - | bool | Init | (
^CAiBrain p_pxBrain , bool p_bReInit ) |
| X | - | void | Load | (
^CUOFReaderNode p_pxReader ) |
| X | - | int | NumGoals | (
) |
| X | - | void | OnUnitAdded | (
CAiObjWrap p_kxrOW , ^CAiNodeInstance p_pxInst ) |
| X | - | void | OnUserInteraction | (
CAiObjWrap p_kxrObj ) |
| X | - | void | RemoveGoal | (
^CAiGoal p_pxGoal , bool p_bCheckIfExists ) |
| X | - | void | RemoveGoal | (
^CAiGoal p_pxGoal ) |
| X | - | void | Save | (
^CUOFWriterNode p_pxWriter ) |
| X | - | bool | SetBehavior | (
string p_sBehavior ) |
| X | - | void | SetExtraData | (
string p_ksrData ) |
| X | - | void | SetThinkWait | (
int p_iThinkWait ) |
| X | - | bool | SetTriggerAttack | (
string p_ksrAttack ) |
| X | - | void | Shut | (
) |
| X | - | void | Think | (
) |
| X | - | int | ExternalGetNumRequestedConstructions | (
) |
| X | - | CAiConstructionInfoPtr | ExternalGetTopRequestedConstruction | (
) |
| X | - | void | ExternalRemoveTopRequestedConstruction | (
) |
| X | - | bool | ExternalRequestConstruction | (
CAiConstructionInfoPtr p_pxCInfo ) |
| X | - | bool | FillNeed | (
CAiNeedPtr po_pxNeed , string p_ksrClassName , int p_iNumber ) |
| X | - | bool | GetConstructionFinished | (
) |
| X | - | real | GetTotalProductionSpeed | (
) |
| X | - | int | InternalGetNumRequestedConstructions | (
) |
| X | - | CAiConstructionInfoPtr | InternalGetTopRequestedConstruction | (
) |
| X | - | void | InternalRemoveTopRequestedConstruction | (
) |
| X | - | bool | InternalRequestConstruction | (
CAiConstructionInfoPtr p_pxCInfo ) |
| X | - | bool | IsNodeInstanceQed | (
^CAiNodeInstance p_pxNI , int p_iOutpostId ) |
| X | - | bool | IsNodeInstanceQed | (
^CAiNodeInstance p_pxNI ) |
| X | - | void | SetConstructionFinished | (
bool p_bFinished ) |
| X | - | void | SetTotalProductionSpeed | (
real p_fSpeed ) |
| X | - | void | Deactivate | (
) |
| X | - | ref CAiGoalBuildArmy | GetAttackOutpostGoal | (
) |
| X | - | void | Activate | (
) |
| X | - | void | SubscribeForActiveSolution | (
procref p_xCallBack ) |
| X | - | void | UnSubscribeForActiveSolution | (
procref p_xCallBack ) |
| X | - | bool | IsSolutionActive | (
^CAiSolution p_pxSol , bool p_bGetToken ) |
| X | - | void | AddActiveSolution | (
^CAiSolution p_pxSol , bool p_bIsTarget ) |
| X | - | void | RemoveActiveSolution | (
^CAiSolution p_pxSol , bool p_bIsTarget , bool p_bFinished , int p_iResultCount ) |
| X | - | bool | StartOutpost | (
int p_iIslandId , vec3 p_vPosition , string p_sType ) |
| X | - | bool | StartOutpost | (
int p_iIslandId , vec3 p_vPosition , string p_sType , ref int p_riOutpostID ) |
| X | - | void | AddForbiddenBuilding | (
string p_sClassName ) |
| X | - | void | ResetBuildings | (
) |
| X | - | void | ComputeMaxWorkersPerAge | (
) |
| - | - | bool | AllWorkersLocked | (
) |
| - | - | void | DumpPyramid | (
) |
| - | - | void | DumpActiveSolutions | (
) |
| - | - | void | CheckWorkerCount | (
) |
| X | - | bool | GetOutpostReady | (
) |